Each application window and control has a set of properties that are captured during recording and saved in the application repository. These properties make each window and control in the repository unique so duplicate objects are not added during subsequent recordings.
Properties are also used as search criteria to find windows and controls in the application during playback. Different types of windows and controls have different types of properties and each property has a value. For example, the Text property of an OK button is OK. QA Wizard Pro automatically selects a unique set of properties to use as search criteria. A window or control is successfully located when its actual property values match the selected search criteria.
QA Wizard Pro stores two values for each window and control property. The original value is saved when the window or control is added to the application repository. The expected value is what scripts expect to find during playback. These values usually match. If an application changes, you may need to modify expected values to make sure QA Wizard Pro can locate the window or control during playback. You can also select different search criteria based on your knowledge of the application.
1. Select a window or control in the Application Repository pane and choose File > Properties.
The Properties dialog box opens with the Search Method tab selected.
Tip: Select windows or controls in the Preview pane to quickly locate them in the Application Repository pane.
2. Enter a Name to identify the window or control in scripts and the application repository.
If you rename a window or control, you must also update the name in existing scripts. See Renaming windows and controls.
3. Select a Control type to let QA Wizard Pro determine the actions that can be performed on the control.
Only change the control type if a different type more accurately identifies the control or the current type is incorrect. You cannot change the type for windows. See Changing control types.
4. Click the Search Method tab to view or change the method and criteria used to search for the window or control during playback. See About search methods.
5. Click the Properties tab to view a list of property names and values captured when the window or control was added to the application repository.
Tip: You can use this information as a reference for valid property names to use when adding Checkpoint or Property statements to verify current property values or creating custom XPath queries to locate HTML controls during playback. See Checkpoint, Property, and About XPath queries.
6. Click the Advanced tab to select options that let QA Wizard Pro automatically update the properties used during recording and recommend better search criteria during playback. See Setting advanced control properties.
7. Click OK to save the changes.